/* You can add global styles to this file, and also import other style files */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局的 node 样式 */
.node-wrapper {
    width: 80px;
    height: 100px;
    position: absolute;
    cursor: pointer;
    background-color: white;
    .ico-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        margin: 10px auto;
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        &::after {
            content: "";
            width: 100%;
            height: 100%;
            border: 1px solid gainsboro;
            position: absolute;
            left: 0;
            top: 0;
            border-radius: 5px;
        }
        img {
            width: 70%;
            display: block;
            height: auto;
        }
    }
    .title-wrapper {
        color: black;
        font-size: 12px;
        text-align: center;
        background: white;
        position: relative;
        z-index: 1;
        padding-bottom: 5px;
        position: absolute;
        width: 200%;
        left: 50%;
        transform: translateX(-50%);
    }

    &.empty {
        .ico-wrapper {
            position: relative;
            border: 1px solid #ff2500;
            &::before {
                content: "";
                width: 7px;
                height: 7px;
                background-color: #ff4d00;
                position: absolute;
                right: 4px;
                top: 4px;
                border-radius: 50%;
            }
        }
    }
}
